View Issue Details

IDProjectCategoryView StatusLast Update
0001911T99X171.00 SKB EagleSWpublic2024-04-03 14:12
Reporter(ALTech) Sangmin Choi Assigned To(ALTech) Sangmin Choi Due Date
PrioritynormalSeveritys4-minorReproducibilityN/A
Status closedResolutionnot a bug 
Summary0001911: Question about HAL_VCOMPO_SetScaleRatioMode function.
DescriptionCan I see the HAL_VCOMPO_SetScaleRatioMode function for Eagle OS10?
I want to know when the following log message("System Control Service init") will be printed.

TagsNo tags attached.
Attach Tags

Users monitoring this issue

User List (SW) Kerwin Chen

Activities

(ALTech) Sangmin Choi

2024-04-02 14:08

developer  

WechatIMG279.jpg (35,375 bytes)   
WechatIMG279.jpg (35,375 bytes)   

(ALTech) Sangmin Choi

2024-04-02 14:09

developer   ~0015351

Hello, Kinbay,

Could you please check this ticket?

Thank you.
Sangmin Choi.

(SW) Kerwin Chen

2024-04-02 14:34

developer   ~0015354

Hi Mr. Sangmin Choi,

May I know the purpose for this question?

Thank you!

(ALTech) Sangmin Choi

2024-04-02 14:47

developer   ~0015355

Hello, Kerwin,

There is an issue that the screen ratio option didn't set correctly.
So, I'm discussing with AML engineer.
He asked me if HAL_VCOMPO_SetScaleRatioMode function is called before initialize of systemcontrol service or not.

Thank you.
Sangmin Choi.

(SW) Kerwin Chen

2024-04-02 15:32

developer   ~0015356

Last edited: 2024-04-02 15:36

Hi Mr. Sangmin Choi,

From your messages, you can see "SystemControlService" is printed before SetScaleRatioMode().
In fact, the flow looks like below
HAL_VCOMPO_SetScaleRatioMode() {
..
client=getSystemControlService();
..
LOGD("%s<%s> .. sourceIn %d\n", LOG_TAG, __FUNCTION__, sourceIn);
client->setDisplayMode(); <-- Amlogic API to set Screen Ratio
}

Thank you!

(ALTech) Sangmin Choi

2024-04-02 15:51

developer   ~0015357

Hello, Kerwin,

So, "System Control Service init" message will be printed every HAL_VCOMPO_SetScaleRatioMode function call?
And, do you return error value if setDisplayMode return error?

Thank you.
Sangmin Choi.

(ALTech) Sangmin Choi

2024-04-02 15:53

developer   ~0015358

(SW) Kerwin Chen

2024-04-02 17:14

developer   ~0015360

Hi Mr. Sangmin Choi,

So, "System Control Service init" message will be printed every HAL_VCOMPO_SetScaleRatioMode function call?
=> yes, it is in getSystemControlService();

And, do you return error value if setDisplayMode return error?
=> I think you could check if there is any error in Amlogic's API first.
It is open on BitBucket.

Thank you!

(ALTech) Sangmin Choi

2024-04-03 10:34

developer   ~0015361

Hello, Kerwin,

SystemControlService::setDisplayMode returns error.
I just want to know HAL_VCOMPO_SetScaleRatioMode return the error which is from SystemControlService::setDisplayMode or not.

Thank you.
Sangmin Choi.

(SW) Kerwin Chen

2024-04-03 13:43

developer   ~0015364

Hi Mr. Sangmin Choi,

Current, 'HAL_VCOMPO_SetScaleRatioMode' doesn't check return value from SystemControlService::setDisplayMode.

(ALTech) Sangmin Choi

2024-04-03 14:12

developer   ~0015366

Hello, Kerwin,

Ok, thank you.
Also, VCOMPO_SetScaleRatioMode doesn't check return value from HAL_VCOMPO_SetScaleRatioMode.

It's OK now, I will request it when it needs.

Thank you.
Sangmin Choi.

Issue History

Date Modified Username Field Change
2024-04-02 14:08 (ALTech) Sangmin Choi New Issue
2024-04-02 14:08 (ALTech) Sangmin Choi Status new => assigned
2024-04-02 14:08 (ALTech) Sangmin Choi Assigned To => (SW) Kinbay Wu
2024-04-02 14:08 (ALTech) Sangmin Choi File Added: WechatIMG279.jpg
2024-04-02 14:09 (ALTech) Sangmin Choi Issue Monitored: (SW) Kerwin Chen
2024-04-02 14:09 (ALTech) Sangmin Choi Note Added: 0015351
2024-04-02 14:34 (SW) Kerwin Chen Note Added: 0015354
2024-04-02 14:47 (ALTech) Sangmin Choi Note Added: 0015355
2024-04-02 15:32 (SW) Kerwin Chen Note Added: 0015356
2024-04-02 15:36 (SW) Kerwin Chen Note Edited: 0015356
2024-04-02 15:51 (ALTech) Sangmin Choi Note Added: 0015357
2024-04-02 15:53 (ALTech) Sangmin Choi Note Added: 0015358
2024-04-02 15:53 (ALTech) Sangmin Choi File Added: 스크린샷 2024-04-02 오후 4.50.01.png
2024-04-02 17:14 (SW) Kerwin Chen Note Added: 0015360
2024-04-03 10:34 (ALTech) Sangmin Choi Note Added: 0015361
2024-04-03 10:34 (ALTech) Sangmin Choi File Added: 스크린샷 2024-04-03 오전 11.30.24.png
2024-04-03 13:43 (SW) Kerwin Chen Note Added: 0015364
2024-04-03 14:12 (ALTech) Sangmin Choi Note Added: 0015366
2024-04-03 14:12 (ALTech) Sangmin Choi Assigned To (SW) Kinbay Wu => (ALTech) Sangmin Choi
2024-04-03 14:12 (ALTech) Sangmin Choi Status assigned => closed
2024-04-03 14:12 (ALTech) Sangmin Choi Resolution open => not a bug